<template>
<div class="city-header">
  <router-link to='/'>
    <div class="header-left">
      <span class="iconfont">&#xe624;</span>
    </div>
  </router-link>
  <div class="change-city">选择城市</div>
</div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~style/varibles.styl'
.city-header
  display: flex
  height: .86rem
  line-height 0
  background-color: $bgColor
  color #fff
  align-items: center
  position relative
  .header-left
    position absolute
    width: .64rem
    text-align :center
    color #fff
  .change-city
     text-align center
     margin 0 auto
     font-size .32rem
     line-height 1
</style>

